package com.cwm.test.decorator.v2;

public class BatterFacadeBuilder {

    private Battercake battercake;

    public BatterFacadeBuilder(Battercake battercake) {
        this.battercake = battercake;
    }


    public BatterFacadeBuilder addEgg() {
        battercake = new EggDecorator(battercake);
        return this;
    }

    public BatterFacadeBuilder addSausage() {
        battercake = new SausageDecorator(battercake);
        return this;
    }

    public Battercake build() {
        return battercake;
    }
}
